package com.zy.xuanwo.zyc.portal.parser.imp;


import com.zy.xuanwo.zyc.portal.parser.BaseParser;

import org.json.JSONException;
import org.json.JSONObject;


public class SimpleParser extends BaseParser<String> {

    @Override
    public String parserJSON(String jsonStr) throws JSONException {
        String result = null;
        if (super.ParseResultPoly(jsonStr) == null) {
            JSONObject mJSONObject = new JSONObject(jsonStr);
            if (mJSONObject.has("result")) {
                result = mJSONObject.getString("result");
            }
        }
        return result;
    }

}
